﻿using UnityEngine;
using System.Collections;
using ResourceClasses;

namespace GeneralStorageClasses
{
	/// <summary>
	/// Stories for the tiles in the overworld.
	/// </summary>
	public class Story
	{
		private int id;
		private string info;
		private string title;
		private string objectives;
		private Reward rewards;

		/// <summary>
		/// Initializes a new instance of the <see cref="GeneralStorageClasses.Story"/> class.
		/// </summary>
		public Story ()
		{
			info = "default info";
			title = "default title";
			objectives = "default objectives";
		}

		/// <summary>
		/// Gets or sets the Id.
		/// </summary>
		/// <value>The Id.</value>
		public int ID {
			get {
				return id;
			}
			set {
				id = value;
			}
		}

		/// <summary>
		/// Gets or sets the reward.
		/// </summary>
		/// <value>The reward.</value>
		public Reward rewAcc {
			get {
				return rewards;
			}
			set {
				rewards = value;
			}
		}

		/// <summary>
		/// Gets or sets the info.
		/// </summary>
		/// <value>The info.</value>
		public string Info {
			get {
				return info;
			}
			set {
				info = value;
			}
		}

		/// <summary>
		/// Gets or sets the title.
		/// </summary>
		/// <value>The title.</value>
		public string Title {
			get {
				return title;
			}
			set {
				title = value;
			}
		}

		/// <summary>
		/// Gets or sets the objectives.
		/// </summary>
		/// <value>The objectives.</value>
		public string Objectives {
			get {
				return objectives;
			}
			set {
				objectives = value;
			}
		}

		/// <summary>
		/// Returns a <see cref="System.String"/> that represents the current <see cref="GeneralStorageClasses.Story"/>.
		/// </summary>
		/// <returns>A <see cref="System.String"/> that represents the current <see cref="GeneralStorageClasses.Story"/>.</returns>
		public override string ToString ()
		{
			return ID + "\n" + Title + "\n" + Objectives + "\n" + Info + "\n" + rewards.ToString ();
		}
	}
}
